gtk4.git
5 years agoRelease to experimental
Simon McVittie [Fri, 12 Feb 2021 10:05:50 +0000 (10:05 +0000)]
Release to experimental

5 years agosymbols: Ignore removal of gtk_glade_catalog_init
Simon McVittie [Wed, 10 Feb 2021 12:44:53 +0000 (12:44 +0000)]
symbols: Ignore removal of gtk_glade_catalog_init

This symbol appeared in the ABI, but not in any header files, and is
considered private.

5 years agoUpdate changelog
Simon McVittie [Wed, 10 Feb 2021 12:23:49 +0000 (12:23 +0000)]
Update changelog

5 years agod/rules: Extend test timeout on slower architectures
Simon McVittie [Wed, 10 Feb 2021 09:39:59 +0000 (09:39 +0000)]
d/rules: Extend test timeout on slower architectures

As of 4.0.1, mipsel was the only release architecture that timed out
on the experimental buildds, but others are likely to be at risk.

5 years agod/rules: Add a note of the test failures that need investigation
Simon McVittie [Wed, 10 Feb 2021 09:37:22 +0000 (09:37 +0000)]
d/rules: Add a note of the test failures that need investigation

5 years agoBump graphene build-dependency to 1.10.4 on i386
Simon McVittie [Wed, 10 Feb 2021 09:23:33 +0000 (09:23 +0000)]
Bump graphene build-dependency to 1.10.4 on i386

Earlier versions used SSE, which has stricter alignment requirements
that cause many of the build-time tests to fail (in addition to not
being available on Debian's baseline CPU).

5 years agoNew upstream release
Simon McVittie [Tue, 9 Feb 2021 19:56:06 +0000 (19:56 +0000)]
New upstream release

5 years agoUpdate upstream source from tag 'upstream/4.0.3'
Simon McVittie [Tue, 9 Feb 2021 19:56:06 +0000 (19:56 +0000)]
Update upstream source from tag 'upstream/4.0.3'

Update to upstream version '4.0.3'
with Debian dir ae7696a50338846680b4bcf8f0e1f77e4503b05d

5 years agoNew upstream version 4.0.3
Simon McVittie [Tue, 9 Feb 2021 19:55:30 +0000 (19:55 +0000)]
New upstream version 4.0.3

5 years ago4.0.3
Matthias Clasen [Sun, 7 Feb 2021 18:56:16 +0000 (13:56 -0500)]
4.0.3

5 years agoMerge branch '4.0-backports' into 'gtk-4.0'
Matthias Clasen [Sun, 7 Feb 2021 20:55:39 +0000 (20:55 +0000)]
Merge branch '4.0-backports' into 'gtk-4.0'

4.0 backports

See merge request GNOME/gtk!3168

5 years agoci: Use v27 of the fedora image
Matthias Clasen [Fri, 29 Jan 2021 17:49:20 +0000 (12:49 -0500)]
ci: Use v27 of the fedora image

This one includes mesa-libGLES-devel, needed to make
the gstreamer module build.

5 years agox11: More dnd fixes
Matthias Clasen [Sun, 7 Feb 2021 14:00:09 +0000 (09:00 -0500)]
x11: More dnd fixes

Whenever we communicate targets, we need to the union, otherwise
we don't tell the other side about our serialization. This makes
drops of images from gtk4-icon-browser to gimp and libreoffice
succeed in transferring data.

Fixes: #3654
5 years agox11: Pass mimetypes when creating output stream
Matthias Clasen [Sun, 7 Feb 2021 06:32:39 +0000 (01:32 -0500)]
x11: Pass mimetypes when creating output stream

When creating the output stream for a drop, we must
pass the mimetypes we support, otherwise the picking
of the right handler does not work.

Fixes: #3652
5 years agox11: Fix a memory leak
Matthias Clasen [Sun, 7 Feb 2021 06:31:40 +0000 (01:31 -0500)]
x11: Fix a memory leak

We ref the content formats here, so we better unref it
when done.

5 years agox11: Some code cleanups
Matthias Clasen [Sun, 7 Feb 2021 06:30:50 +0000 (01:30 -0500)]
x11: Some code cleanups

Fix some glaring misindentation.

5 years agomeson: use correct module file extension on macOS
David Lechner [Fri, 5 Feb 2021 21:56:14 +0000 (15:56 -0600)]
meson: use correct module file extension on macOS

GModule requires the .so file extension on macOS for historic reasons.
However Meson defaults to .dylib for modules, so we need to override
it to get the correct extension.

Fixes #3645.

5 years agoiconbrowser: Make image dnd work again
Matthias Clasen [Fri, 5 Feb 2021 01:46:51 +0000 (20:46 -0500)]
iconbrowser: Make image dnd work again

We need to drag a texture, not a paintable.

Fixes: #3648
5 years agogtkshow: Fix doc typo
Maximiliano Sandoval R [Thu, 4 Feb 2021 20:02:22 +0000 (21:02 +0100)]
gtkshow: Fix doc typo

5 years agodocs: Rewrite the long description for GtkDialog
Matthias Clasen [Thu, 4 Feb 2021 18:05:28 +0000 (13:05 -0500)]
docs: Rewrite the long description for GtkDialog

As was pointed out in #3646, some of the content here
was a bit outdated.

Fixes: #3646
5 years agotreemodelfilter: Drop unreachable code
Matthias Clasen [Thu, 4 Feb 2021 05:40:14 +0000 (00:40 -0500)]
treemodelfilter: Drop unreachable code

We never get here. The compiler says so.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agocss: Drop a bit of unreachable code
Matthias Clasen [Thu, 4 Feb 2021 05:39:34 +0000 (00:39 -0500)]
css: Drop a bit of unreachable code

We never get here. The compiler says so.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agoa11y: Avoid out-of-bounds access
Matthias Clasen [Thu, 4 Feb 2021 05:34:05 +0000 (00:34 -0500)]
a11y: Avoid out-of-bounds access

Don't use the index before we've checked its good.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agogdk: Remove a redundant check
Matthias Clasen [Thu, 4 Feb 2021 05:29:51 +0000 (00:29 -0500)]
gdk: Remove a redundant check

We already know desktop_notification_id is not NULL.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agomessagedialog: Don't initialize twice
Matthias Clasen [Thu, 4 Feb 2021 05:25:36 +0000 (00:25 -0500)]
messagedialog: Don't initialize twice

We don't need to set these fields more than once.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agox11: A case of argument order confusion
Matthias Clasen [Thu, 4 Feb 2021 05:20:26 +0000 (00:20 -0500)]
x11: A case of argument order confusion

translate_keysym was expecting its arguments the
other way around.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agotextbtree: Avoid line vs char count confusion
Matthias Clasen [Thu, 4 Feb 2021 05:17:55 +0000 (00:17 -0500)]
textbtree: Avoid line vs char count confusion

The post_insert_fixup helper function was confused about
its argument order.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agolistbase: Don't specify the same thing twice
Matthias Clasen [Thu, 4 Feb 2021 05:13:53 +0000 (00:13 -0500)]
listbase: Don't specify the same thing twice

We only need to set EXPLICIT_NOTIFY once.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agocss: Fix border value parsing
Matthias Clasen [Thu, 4 Feb 2021 05:11:42 +0000 (00:11 -0500)]
css: Fix border value parsing

This function was not resetting computed as it meant
to because the last loop was never executed.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agovulkan: Fix image uploading by regions
Matthias Clasen [Thu, 4 Feb 2021 05:09:09 +0000 (00:09 -0500)]
vulkan: Fix image uploading by regions

This code did not make sense; it was incrementing
the wrong variable.

Pointed out in https://www.viva64.com/en/b/0793/

5 years agodocs: Mention css drop-shadow filter
Matthias Clasen [Thu, 4 Feb 2021 01:27:55 +0000 (20:27 -0500)]
docs: Mention css drop-shadow filter

We don't support this filter, currently.

5 years agocss: Fix shadow value equal
Matthias Clasen [Wed, 3 Feb 2021 16:21:23 +0000 (11:21 -0500)]
css: Fix shadow value equal

This function was not doing the right thing.

Once we are doing the right thing and not compare
shadows as unequal, some reftests that inhibit
snapshots for a few frames now hang forever, since
we are no more redrawing unnecessarily. Fix that
with an explicit queue_draw.

5 years agoAdwaita: allow suggested and destructive action buttons in lists
Jakub Steiner [Wed, 3 Feb 2021 22:13:24 +0000 (23:13 +0100)]
Adwaita: allow suggested and destructive action buttons in lists

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3643

5 years agox11: Handle X-specific targets in drops
Matthias Clasen [Wed, 3 Feb 2021 19:16:01 +0000 (14:16 -0500)]
x11: Handle X-specific targets in drops

This code is very similar to the handling for these
targets in the clipboard case.

Fixes: #3642
5 years agocss: Allow transitioning different-size shadows
Matthias Clasen [Tue, 2 Feb 2021 20:22:32 +0000 (15:22 -0500)]
css: Allow transitioning different-size shadows

The code handles it just fine. The length check was
an erronous addition.

5 years agogdk/toplevelsize: Remove warnings about exceeding bounds
Jonas Ådahl [Mon, 1 Feb 2021 10:31:11 +0000 (11:31 +0100)]
gdk/toplevelsize: Remove warnings about exceeding bounds

Sometimes the size will exceed the minimum bounds. For example crazy
applications like the widget factory that contains the world, or when a
user interactively resizes a window to be larger than the monitor the
window is on is.

The former is questionable, but the latter is not, and from here we
can't really see the difference, so just stop complaining.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3035
5 years agoRemove a forgotten file
Matthias Clasen [Fri, 29 Jan 2021 15:45:27 +0000 (10:45 -0500)]
Remove a forgotten file

The example series only has 9 steps now. Remove remnants
of step 10.

5 years agonativedialog: Add more docs
Matthias Clasen [Mon, 1 Feb 2021 01:22:59 +0000 (20:22 -0500)]
nativedialog: Add more docs

Emphasize that native dialogs aren't widgets, and are not
kept alive by GTK.

5 years agotests: Disable the textview-margins reftest
Matthias Clasen [Sat, 30 Jan 2021 03:45:21 +0000 (22:45 -0500)]
tests: Disable the textview-margins reftest

It is too flaky to be useful.

5 years agogtkgstsink: Sync texture before handing it to GDK
Jan Alexander Steffens (heftig) [Mon, 25 Jan 2021 21:43:11 +0000 (22:43 +0100)]
gtkgstsink: Sync texture before handing it to GDK

We need to synchronize when moving the texture between contexts, or we
get glitches with VA-API decoding.

5 years agobuild: Disable subproject Cairo tests
Emmanuele Bassi [Fri, 29 Jan 2021 16:30:19 +0000 (16:30 +0000)]
build: Disable subproject Cairo tests

There's really no point in running them.

5 years agodocs: Annotate XML fragments as such
Emmanuele Bassi [Thu, 28 Jan 2021 15:42:22 +0000 (15:42 +0000)]
docs: Annotate XML fragments as such

This way we can get syntax highlighting.

5 years agodocs: Escape bare tags
Emmanuele Bassi [Thu, 28 Jan 2021 14:54:10 +0000 (14:54 +0000)]
docs: Escape bare tags

Otherwise tools processing the description of GtkWidget will be *very*
confused.

5 years agodocs: Use the appropriate syntax for code block language
Emmanuele Bassi [Thu, 28 Jan 2021 14:53:39 +0000 (14:53 +0000)]
docs: Use the appropriate syntax for code block language

5 years agodocs: Remove stray code block end marker
Emmanuele Bassi [Thu, 28 Jan 2021 14:53:25 +0000 (14:53 +0000)]
docs: Remove stray code block end marker

5 years agoshader builder: Improve error output
Timm Bäder [Thu, 28 Jan 2021 11:31:18 +0000 (12:31 +0100)]
shader builder: Improve error output

5 years agonode editor: Make help textview monospace
Timm Bäder [Sun, 24 Jan 2021 04:27:07 +0000 (05:27 +0100)]
node editor: Make help textview monospace

Otherwise the nice markdown tables don't line up.

5 years agowayland: Signal gtk-shell surface destruction to the server
Sebastian Keller [Thu, 28 Jan 2021 21:31:03 +0000 (22:31 +0100)]
wayland: Signal gtk-shell surface destruction to the server

This adds a "release" destructor for the gtk_surface1 interface which
signals to the server that a surface has been destroyed on the client
side, which the current "destroy" does not do.

Ideally the protocol would have specified a destroy request marked as
destructor to handle this automatically, however this is no longer
possible due to the destroy method being implicitly generated in the
absence of an explicit request in the protocol. Adding a destroy request
marked as destructor now would generate a new destroy method that
unconditionally would send the request to the server, which would break
clients running on servers not supporting that request.

5 years agoRemove vestigial glade support
Matthias Clasen [Thu, 28 Jan 2021 04:36:55 +0000 (23:36 -0500)]
Remove vestigial glade support

These files have not been kept up to date, and
glade doesn't work with GTK4 currently.

5 years agoDrop unused logo resource
Matthias Clasen [Thu, 28 Jan 2021 04:28:36 +0000 (23:28 -0500)]
Drop unused logo resource

The inspector no longer sets a window icon.

5 years agobuilder-tool: Translate GtkImage:pixbuf
Matthias Clasen [Wed, 27 Jan 2021 22:01:51 +0000 (17:01 -0500)]
builder-tool: Translate GtkImage:pixbuf

The pixbuf property doesn't exist anymore. It is
commonly set to a path in ui files, so translate it
to the file property.

5 years agodocs: Add gtk_widget_grab_default to migration guide
Matthias Clasen [Wed, 27 Jan 2021 18:50:05 +0000 (13:50 -0500)]
docs: Add gtk_widget_grab_default to migration guide

Point out the replacement for this api.

5 years agowidget: Fix can-focus
Matthias Clasen [Wed, 27 Jan 2021 04:43:11 +0000 (23:43 -0500)]
widget: Fix can-focus

Setting can-focus to FALSE on a widget is supposed
to prevent focus from entering the entire subtree.
So when we grab focus directly to a widget, we need
to check the can-focus flag not just of the widget
itself, but all its ancestors.

Fixes: #3610
5 years agogtkgstsink: Use video_frame_free also for the GL path
Jan Alexander Steffens (heftig) [Mon, 25 Jan 2021 21:38:45 +0000 (22:38 +0100)]
gtkgstsink: Use video_frame_free also for the GL path

The video frame needs to stay mapped while the texture is in use.

Avoid using g_memdup because the structure is not supposed to be moved.

5 years agogtkgstsink: Report allocation size even if no pool requested
Jan Alexander Steffens (heftig) [Mon, 25 Jan 2021 21:39:32 +0000 (22:39 +0100)]
gtkgstsink: Report allocation size even if no pool requested

We can do that so we should.

5 years agodocs: Update border-size docs
Matthias Clasen [Tue, 26 Jan 2021 15:40:22 +0000 (10:40 -0500)]
docs: Update border-size docs

GtkCenterLayout respected border-size as well.

5 years agosearchbar: Fix documentation mishap
Matthias Clasen [Tue, 26 Jan 2021 03:15:56 +0000 (22:15 -0500)]
searchbar: Fix documentation mishap

The css section was inserted between the example
and the sentence referring to it.

5 years agomodules: Simplify _gtk_get_module_path
Jan Alexander Steffens (heftig) [Mon, 25 Jan 2021 21:33:46 +0000 (22:33 +0100)]
modules: Simplify _gtk_get_module_path

Remove the bizarre loops.

5 years agoAvoid a buffer overrun
Matthias Clasen [Fri, 22 Jan 2021 18:56:04 +0000 (13:56 -0500)]
Avoid a buffer overrun

We were putting the '\0' behind the end. Oops.

5 years agotestsuite: Fix a leak
Matthias Clasen [Fri, 22 Jan 2021 16:50:04 +0000 (11:50 -0500)]
testsuite: Fix a leak

asan pointed out that the array tests leak.

5 years agoAvoid a heap-use-after-free
Matthias Clasen [Fri, 22 Jan 2021 16:37:20 +0000 (11:37 -0500)]
Avoid a heap-use-after-free

_gtk_gesture_cancel_sequence frees the struct pointed to by data,
so don't write to it afterwards. Found by asan.

5 years agowayland: Explicitly announce ssd for kwin
Matthias Clasen [Fri, 22 Jan 2021 03:43:33 +0000 (22:43 -0500)]
wayland: Explicitly announce ssd for kwin

Without this, kwin correctly assumes that we are
using client-side decorations. This is a port
of 32ae97f1 from GTK 3.24.

Fixes: #3609
5 years agoa11y: Make GtkATContext realization lazier
Emmanuele Bassi [Thu, 21 Jan 2021 16:39:22 +0000 (16:39 +0000)]
a11y: Make GtkATContext realization lazier

We only realize the ATContext on the top level, which will create an
GtkAtSpiRoot object and the corresponding GtkAtSpiCache object. Whenever
an AT connects to the accessibility bus, and asks for the various
objects, all the ATContext will be realized on demand.

5 years agoa11y: Avoid signal emission during cache population
Emmanuele Bassi [Thu, 21 Jan 2021 16:31:28 +0000 (16:31 +0000)]
a11y: Avoid signal emission during cache population

If we're responding to a request to get all the cached items, there's no
need to emit signals when adding an ATContext to the cache.

5 years agoAbort if the shared memory pool cannot be created
Emmanuele Bassi [Wed, 20 Jan 2021 19:10:54 +0000 (19:10 +0000)]
Abort if the shared memory pool cannot be created

If we cannot allocate memory, we cannot create any windowing system
surface. There's no coming back from that.

Fixes: #3607
5 years agoUpdate Slovenian translation
Matej Urbančič [Sat, 6 Feb 2021 19:41:30 +0000 (19:41 +0000)]
Update Slovenian translation

5 years agoUpdated Czech translation
Marek Černocký [Sat, 6 Feb 2021 08:45:13 +0000 (09:45 +0100)]
Updated Czech translation

5 years agoMerge branch 'uac.meson.4' into 'gtk-4.0'
Matthias Clasen [Wed, 3 Feb 2021 15:30:14 +0000 (15:30 +0000)]
Merge branch 'uac.meson.4' into 'gtk-4.0'

gtk4-update-icon-cache: Avoid UAC on 32-bit Windows

See merge request GNOME/gtk!3146

5 years agogtk4-update-icon-cache: Avoid UAC on 32-bit Windows
Chun-wei Fan [Wed, 3 Feb 2021 02:16:58 +0000 (02:16 +0000)]
gtk4-update-icon-cache: Avoid UAC on 32-bit Windows

As the program executable name has 'update' in its filename,
gtk4-update-icon-cache.exe is considered to be an installer program on 32-bit
Windows [1], which will cause the program to fail to run unless it is running
with elevated privileges (i.e. UAC).

Avoid this situation by embedding a manifest file into the final executable
that tells Windows that this is not a program that requires elevation.

Fixes issue #3632.

[1]: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc709628(v=ws.10)?redirectedfrom=MSDN,
     under section "Installer Detection  Technology"

5 years agoUpdate Portuguese translation
Hugo Carvalho [Mon, 1 Feb 2021 16:21:40 +0000 (16:21 +0000)]
Update Portuguese translation

5 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 1 Feb 2021 10:13:00 +0000 (10:13 +0000)]
Update Spanish translation

5 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 30 Jan 2021 19:15:43 +0000 (19:15 +0000)]
Update Brazilian Portuguese translation

5 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 30 Jan 2021 16:00:24 +0000 (16:00 +0000)]
Update Brazilian Portuguese translation

5 years agod/copyright: Update
Simon McVittie [Fri, 29 Jan 2021 18:25:00 +0000 (18:25 +0000)]
d/copyright: Update

5 years agoNew upstream release
Simon McVittie [Fri, 29 Jan 2021 18:19:26 +0000 (18:19 +0000)]
New upstream release

5 years agoUpdate upstream source from tag 'upstream/4.0.2'
Simon McVittie [Fri, 29 Jan 2021 18:19:26 +0000 (18:19 +0000)]
Update upstream source from tag 'upstream/4.0.2'

Update to upstream version '4.0.2'
with Debian dir 406825fc9afa9878741cf66ebd6fe521a97b2425

5 years agoNew upstream version 4.0.2
Simon McVittie [Fri, 29 Jan 2021 18:18:47 +0000 (18:18 +0000)]
New upstream version 4.0.2

5 years agoUpdate changelog
Simon McVittie [Fri, 29 Jan 2021 18:17:36 +0000 (18:17 +0000)]
Update changelog

5 years agoUpdate Swedish translation
Anders Jonsson [Thu, 28 Jan 2021 20:39:06 +0000 (20:39 +0000)]
Update Swedish translation

5 years agoIncrease dependency on librsvg2-common from Suggests to Recommends
Simon McVittie [Sun, 24 Jan 2021 11:09:52 +0000 (11:09 +0000)]
Increase dependency on librsvg2-common from Suggests to Recommends

This is not a hard dependency, but should be installed in nearly all
cases. Increasingly many icons are provided in SVG format, so
applications will appear broken if the SVG pixbuf loader is not
installed. See #980396 for more information.

adwaita-icon-theme already Recommends librsvg2-common, but people who
routinely do not install recommended packages will get a better hint
about how much will be broken by its removal if GTK also recommends it.

5 years agoUpdated Czech translation
Marek Černocký [Tue, 26 Jan 2021 15:22:10 +0000 (16:22 +0100)]
Updated Czech translation

5 years agoUpdate Galician translation
Fran Dieguez [Mon, 25 Jan 2021 18:53:02 +0000 (18:53 +0000)]
Update Galician translation

5 years agoUpdate Galician translation
Fran Dieguez [Mon, 25 Jan 2021 18:50:42 +0000 (18:50 +0000)]
Update Galician translation

5 years agoUpdate Punjabi translation
A S Alam [Sun, 24 Jan 2021 22:52:13 +0000 (22:52 +0000)]
Update Punjabi translation

5 years agoUpdate Punjabi translation
A S Alam [Sun, 24 Jan 2021 22:42:04 +0000 (22:42 +0000)]
Update Punjabi translation

5 years agoUpdate Greek translation
Efstathios Iosifidis [Sun, 24 Jan 2021 10:17:02 +0000 (10:17 +0000)]
Update Greek translation

5 years agodist: Fix css theme disting after HighContrast-dark changes
Kalev Lember [Tue, 19 Jan 2021 09:46:13 +0000 (10:46 +0100)]
dist: Fix css theme disting after HighContrast-dark changes

Commit f60d245e327a760a188e8b5a40844f5fe092df43 renamed it from
HighContrast-inverse.css to HighContrast-dark.css.

5 years agoSplit NEWS for pre-4.0 changes
Kalev Lember [Tue, 19 Jan 2021 09:40:09 +0000 (10:40 +0100)]
Split NEWS for pre-4.0 changes

Similar to commit 87e9f0895b72540172884ff152b0957a39f4ee6d that did the
same for older releases, this commit splits out pre-4.0 changes to
separate NEWS.pre-4.0 file.

5 years agod/rules: Show test log if build-time test fails
Simon McVittie [Tue, 19 Jan 2021 10:43:33 +0000 (10:43 +0000)]
d/rules: Show test log if build-time test fails

dh_auto_test would automatically show meson-logs/testlog.txt, but
because we're running with --setup=x11, we get meson-logs/testlog-x11.txt
instead.

5 years ago4.0.2
Matthias Clasen [Tue, 19 Jan 2021 03:23:57 +0000 (22:23 -0500)]
4.0.2

5 years agoMerge branch 'fix-cell-renderer-toggle' into 'master'
Matthias Clasen [Tue, 19 Jan 2021 02:09:10 +0000 (02:09 +0000)]
Merge branch 'fix-cell-renderer-toggle' into 'master'

cellrenderertoggle: Fix css node handling

Closes #3599

See merge request GNOME/gtk!3092

5 years agocellrenderertoggle: Fix css node handling
Matthias Clasen [Tue, 19 Jan 2021 01:52:59 +0000 (20:52 -0500)]
cellrenderertoggle: Fix css node handling

Commit cbbbf44dd43ca608709 tried to replace
gtk_style_context_save_named with an explicit
css node to save to, but it failed, and the failure
was showing up as crashes in the inspector.

Fix by Benjamin Otte.

Fixes: #3599
5 years agoMerge branch 'cherry-pick-gtk_file_chooser_set_current_name-fix-type' into 'master'
Emmanuele Bassi [Mon, 18 Jan 2021 23:19:00 +0000 (23:19 +0000)]
Merge branch 'cherry-pick-gtk_file_chooser_set_current_name-fix-type' into 'master'

gtk_file_chooser_set_current_name: fix type of name argument

See merge request GNOME/gtk!3091

5 years agogtk_file_chooser_set_current_name: fix type of name argument
Thomas Holder [Fri, 5 Jun 2020 10:43:49 +0000 (12:43 +0200)]
gtk_file_chooser_set_current_name: fix type of name argument

The description says UTF-8 string, but the annotation said filename.

Cherry-picked from gtk-3-24 1573ff6803d9c7a41145d21d5fa640ddc493bad2

5 years agoMerge branch 'doap-update' into 'master'
Matthias Clasen [Mon, 18 Jan 2021 14:40:02 +0000 (14:40 +0000)]
Merge branch 'doap-update' into 'master'

Update the gtk.doap file

See merge request GNOME/gtk!3088

5 years agoUpdate the gtk.doap file
Matthias Clasen [Mon, 18 Jan 2021 14:11:11 +0000 (09:11 -0500)]
Update the gtk.doap file

Add relevant people as maintainers.

5 years agoUpdate Romanian translation
Florentina Mușat [Mon, 18 Jan 2021 13:06:18 +0000 (13:06 +0000)]
Update Romanian translation

5 years agoMerge branch 'win32-remove-layered-windows' into 'master'
Chun-wei Fan [Mon, 18 Jan 2021 10:42:37 +0000 (10:42 +0000)]
Merge branch 'win32-remove-layered-windows' into 'master'

GDK/Win32: Remove layered windows usage

See merge request GNOME/gtk!2782

5 years agoGDK/Win32: Remove layered windows usage
Chun-wei Fan [Thu, 5 Nov 2020 08:24:40 +0000 (16:24 +0800)]
GDK/Win32: Remove layered windows usage

In GTK4, we are now defaulting to the OpenGL renderer with the Cairo renderer
only used as a fallback, so there is no point keeping the code paths that use
layered windows as layered windows do not work well with OpenGL nor Vulkan.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 17 Jan 2021 17:51:15 +0000 (17:51 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3437

See merge request GNOME/gtk!3087